import { createApp } from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'

// 1.引入全局公共样式
import "@/styles/index.scss"

// 2. 引入 element-plus 
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

// 3. 全局混入
import {myMixins} from "@/utils/mixins"

// 4. 全局注册组件
import LoginAccount from "@/components/LoginAccount.vue"

createApp(App)
.mixin(myMixins)
.component('LoginAccount',LoginAccount)
.use(ElementPlus)
.use(store)
.use(router)
.mount('#app')
